

export interface UIClass<T extends UIBase> {
    new(): T;
    getPrefabPath(): string;
}
const { ccclass, property } = cc._decorator;
@ccclass
export class UIBase extends cc.Component {
    public static UIPath: string = "";

    public static getPrefanPath(): string {
        return this.UIPath;
    }

    @property({ displayName: "弹窗" })
    public isFullScreen: boolean = true; // 是否是全屏界面

    // 从上一个界面返回当前界面
    public resume(): void {

    }


}